package cn.com.elite;

import javax.servlet.http.HttpServlet;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class RSServlet extends HttpServlet{
	private static final Log log=LogFactory.getLog(RSServlet.class);
	public void init(){
		try{
			String WSDL=this.getInitParameter("WSDL");
			RSThread rs=new RSThread();
			rs.setAddress(WSDL);
			Thread t=new Thread(rs); 
	        t.start(); 
		}catch(Exception e){
			log.error("RSServlet启动失败:"+EliteUtil.getERRO(e));  
		}
		
		
	}

}
